﻿namespace CalculatorLibrary.ExpressionLibrary
{
    /// <summary>
    /// Interface IExpression
    /// </summary>
    public interface IExpression
    {
        /// <summary>
        /// Calculatas the specified left part.
        /// </summary>
        /// <param name="leftPart">The left part.</param>
        /// <param name="rightPart">The right part.</param>
        /// <returns>System.Decimal.</returns>
        decimal Calculate(decimal leftPart, decimal rightPart);
    }
}